const env = 'prod' ; //环境变量

const config = env == 'dev' ? {
    jisuapi : 'https://api.jisuapi.com',
    api : 'http://localhost:8080/oil',
    maintenance : 'http://localhost:8080/maintenance',
    consumption : 'http://localhost:8080/consumption',
    sensor: 'http://localhost:8080/sensor',
    chat: 'http://localhost:8080/chat',
    sso : 'http://localhost:8080/sso',
    common : 'http://localhost:8080/common',
    qqmap: 'https://apis.map.qq.com',
    wss: 'ws://localhost:8080/chat/'
} : {
    api : 'https://jingyikeji.online/api/oil',
    maintenance : 'https://jingyikeji.online/api/maintenance',
    consumption : 'https://jingyikeji.online/api/consumption',
    sensor : 'https://jingyikeji.online/api/sensor',
    chat : 'https://jingyikeji.online/api/chat',
    sso : 'https://jingyikeji.online/api/sso',
    common : 'https://jingyikeji.online/api/common',
    qqmap: 'https://apis.map.qq.com',
    wss: 'wss://jingyikeji.online/ws/chat/'
};
// 可传入动态域名配置
module.exports =  config;

